package cn.com.xxlibrary.action;

import javax.annotation.Resource;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.springframework.stereotype.Controller;

import cn.com.xxlibrary.service.ISystemService;

import com.opensymphony.xwork2.ActionSupport;

@Controller
@ParentPackage("myStruts")
@Namespace(value = "/")
public class SystemAction extends ActionSupport {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Resource
	private ISystemService systemService;
	
	@Action(value="recordLog")
	public String recordLog(){
		//systemService.recordLog(log, operateManager);
		return SUCCESS;
	}

	public ISystemService getSystemService() {
		return systemService;
	}

	public void setSystemService(ISystemService systemService) {
		this.systemService = systemService;
	}
	
}
